package com.clear.gateway;

import cn.dev33.satoken.SaManager;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 网关引导类
 */
@SpringBootApplication
@ComponentScan("com.clear")
@Slf4j
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class);
        log.info("启动成功，Sa-Token 配置如下：{}", SaManager.getConfig());
    }
}
